package com.onpositive.gamemaker.core;


public abstract class AbstractType<T>
{
	protected T parentType;
	protected String id;
	
	public AbstractType(T parentType, String id)
	{
		this.parentType = parentType;
		this.id = id;
	}

	/**
	 * @return the parentType
	 */
	public T getParentType()
	{
		return parentType;
	}

	/**
	 * @param parentType the parentType to set
	 */
	public void setParentType(T parentType)
	{
		this.parentType = parentType;
	}

	/**
	 * @return the id
	 */
	public String getId()
	{
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id)
	{
		this.id = id;
	}
	
}
